import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

//引入
import Home from '@/components/Home/Home'
import News from '@/components/News/News'
import Shop from '@/components/Shop/Shop'
import My from '@/components/My/My'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/home',
      name: 'home',
      component: Home
    }
    // ,
    // {
    //   path:'/news',
    //   name:'/news',
    //   component:News
    // },
    // {
    //   path:'/shop',
    //   name:'/shop',
    //   component:Shop
    // },
    // {
    //   path:'/my',
    //   name:'/my',
    //   component:My
    // }
  ]
})
